<?php
namespace app\validate;

use think\Validate;

class CheckChangeAmount extends Validate
{

    protected $rule =   [
        'remark'  => 'require|length:1,40',
        'score'  => 'require|integer',
    ];

    protected $message  =   [
        'remark.require' => '请填写备注！',
        'remark.length' => '备注在1-40个字符之间！',
        'score.number' => '积分为数字！',
        'score.require' => '积分必填！',
    ];

}